package com.easylinkin.linkappapi.meterbilling.util;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/15 10:42
 */
public class RechargeConstant {

    /**
     * 充值类型--水表充值
     */
    public final static int  RECHARGE_TYPE_WATER = 0;


    /**
     * 充值类型--电表充值
     */
    public final static int  RECHARGE_TYPE_ELECTRICITY = 1;

    /**
     * 支付方式-现金
     */
    public final static int  PAY_TYPE_CASH = 0;

    /**
     * 支付方式-微信支付
     */
    public final static int  PAY_TYPE_WECHAT = 1;

    /**
     * 充值平台--pc端
     */
    public final static int  RECHARGE_PLATFORM_PC = 0;

    /**
     * 充值平台--小程序
     */
    public final static int  RECHARGE_PLATFORM_MINI = 1;

    /**
     *充值平台--微信公众号
     */
    public final static int  RECHARGE_PLATFORM_WX_PUBLIC = 2;

    /**
     * 充值状态--创建
     */
    public final static int  RECHARGE_STATUS_CREATE = 0;

    /**
     * 充值状态--成功
     */
    public final static int  RECHARGE_STATUS_SUCCESS = 1;

    /**
     * 充值状态--失败
     */
    public final static int  RECHARGE_STATUS_FAIL = 2;

    /**
     * 水电表微信公众号登陆验证码，在redis 缓存中前缀
     */
    public final static String METER_WECHAT_PUBLIC_ACCOUNT_LOGIN_VERIFICATION_CODE_PREFIX = "meterWechatLoginCode_";

    /**
     * 水电表微信公众号修改密码功能验证码，在redis 缓存中前缀
     */
    public final static String METER_WECHAT_PUBLIC_ACCOUNT_UPDATE_VERIFICATION_CODE_PREFIX_ = "meterWechatUpdateCode_";


    public final static int  RECHARGE_RESP_OK = 200;


}
